﻿using System;

namespace ServerDataObject
{
    public class SyncItem
    {
        public AddPerson NewPerson { get; set; }
        public EditPerson EditPerson { get; set; }
        public AddPersonAward AwardRequest { get; set; }
        public AddChallenge NewChallenge { get; set; }
        public int OrderNr { get; set; }

        public SyncItemType ItemType { get; set; }
    }
    public enum SyncItemType
    {
        AddAward,
        AddPerson,
        EditPerson,
        AddChallenge,
        AddPersonAward
    }
}
